package cn._tedu.eguser1.eguser1.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author tune_the last
 * @date 2025/11/13 - 14:50
 */
@Getter
@AllArgsConstructor
public enum StatusCode {
    OPERATiON_SUCCESS(2000, "操作成功"),
    OPERATiON_FAIL(3000, "操作失败"),
    THROWABLE_ERROR(1003, "未知异常"),
    VALIDATION_FAIL(1004, "数据验证错误");

    private Integer state;
    private String message;
}
